package com.mcf.xiaolinju.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mcf
 * @since 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Tagmessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 动态id
     */
    private Integer dynamicid;

    /**
     * 点赞人的id
     */
    @TableField("Tagsid")
    private Integer tagsid;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDynamicid() {
        return dynamicid;
    }

    public void setDynamicid(Integer dynamicid) {
        this.dynamicid = dynamicid;
    }

    public Integer getTagsid() {
        return tagsid;
    }

    public void setTagsid(Integer tagsid) {
        this.tagsid = tagsid;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Tagmessage{" +
                "id=" + id +
                ", dynamicid=" + dynamicid +
                ", tagsid=" + tagsid +
                ", createtime=" + createtime +
                '}';
    }
}
